package com.zhazha.stand.entity;

import java.util.Date;

public class Contest implements Entity{

	private int id;
	private String name;
	private String description;
	private Date beginDate;
	private Date endDate;
	
	public Contest() {}
	public Contest(int id, String name, String description, Date beginDate, Date endDate) {
		
		this.setId(id);
		this.setName(name);
		this.setDescription(description);
		this.setBeginDate(beginDate);
		this.setEndDate(endDate);
	}
	
	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getDescription() {
		return description;
	}
	
	public void setDescription(String description) {
		this.description = description;
	}
	
	public Date getBeginDate() {
		return beginDate;
	}
	
	public void setBeginDate(Date beginDate) {
		this.beginDate= beginDate;
	}
	
	public Date getEndDate() {
		return endDate;
	}
	
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
}
